<?php
namespace console\controller;
use console\controller\ConsoleBaseController;

class DemoController extends ConsoleBaseController{
    public function __construct()
    {
        parent::__construct();
    }
    //命令行模式,例 php jimu.php demo/hello name=hello value=world
	public function helloAction($params=[])
    {
        if(is_array($params)){
            return http_build_query($params);
        }
	}
}